package com.hai.prism.simple;

import java.util.Arrays;

import com.hai.prism.driver.AS7343;

public class Start {

	public static void main(String[] args) {
		AS7343 as = new AS7343(0, 0);
		as.init(0);
		as.startMeasure(14);
		System.out.println(Arrays.toString(as.readSpectralDataOne()));
		as.startMeasure(58);
		System.out.println(Arrays.toString(as.readSpectralDataTow()));
		System.out.println(as.readFlickerData());
	}

}
